Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit b35bd6dc1cf9ab7cf9f06b9dea27083c113cb950


Parents : 52b9cca
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-05-02T06:22:24-05:00

chore(cx_setup): update vendor path handling for LXMFy integration

Changes

1 files changed, 5 insertions(+), 1 deletions(-)

M cx_setup.py +5 -1

Diff

diff --git a/cx_setup.py b/cx_setup.py
index 5c41c8e5..361152c6 100644
--- a/cx_setup.py
+++ b/cx_setup.py
@@ -4,11 +4,15 @@ import os
import sys
from pathlib import Path
+ROOT = Path(__file__).resolve().parent
+_vendor_lxmfy = ROOT / "vendor" / "lxmfy"
+if _vendor_lxmfy.is_dir() and (_vendor_lxmfy / "lxmfy").is_dir():
+ sys.path.insert(0, str(_vendor_lxmfy))
+
from cx_Freeze import Executable, setup
from meshchatx.src.version import __version__
-ROOT = Path(__file__).resolve().parent
PUBLIC_DIR = ROOT / "meshchatx" / "public"
target_name = os.environ.get("CX_FREEZE_TARGET_NAME", "ReticulumMeshChatX")


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────